import request from "@/utils/request";
import { rootsUrl } from "@/utils/index";

export const getRouters = lang => {
  return request({
    url: `${rootsUrl[0]}/museum/navigation/getRouters.shtml`,
    // url: "/routers",
    method: "get",
    params: {
      language: lang
    }
  });
};

export const getFakeRouters = () => {
  return request({
    url: `/getRouters`,
    // url: "/routers",
    method: "get"
  });
};
